package com.newtouch.bxzs.common.base.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

/**
 * 数据同步获取的组织架构实体类
 *
 * <p>
 * <b>History:</b>
 * <table border="1">
 * <tr>
 * <th>Date</th>
 * <th>Operator</th>
 * <th>Memo</th>
 * </tr>
 * <tr>
 * <td>2020/12/21 14:54</td>
 * <td>lhx</td>
 * <td>Create</td>
 * </tr>
 * </table>
 *
 * @author lhx
 * @version 1.0.0
 * @since 1.0.0
 */
@Data
@TableName(value = "ASSISTANT_COOPERATION_COMPANY_ORGANIZATION")
public class CooperationCompanyOrganization {
	/** 对端机构ID cooperationCompanyOrganizationId */
	@TableId(value = "COOPERATION_COMPANY_ORGANIZATION_ID", type = IdType.ASSIGN_UUID)
	private String cooperationCompanyOrganizationId;

	/** 对端机构编码 cooperationCompanyOrganizationCode */
	@TableField(value = "COOPERATION_COMPANY_ORGANIZATION_CODE")
	private String cooperationCompanyOrganizationCode;

	/** 对端机构名称 cooperationCompanyOrganizationName */
	@TableField(value = "COOPERATION_COMPANY_ORGANIZATION_NAME")
	private String cooperationCompanyOrganizationName;

	/** 对端机构联系电话 cooperationCompanyOrganizationTelephone */
	@TableField(value = "COOPERATION_COMPANY_ORGANIZATION_TELEPHONE")
	private String cooperationCompanyOrganizationTelephone;

	/** 对端机构类型 COOPERATION_COMPANY_ORGANIZATION_TYPE */
	@TableField(value = "COOPERATION_COMPANY_ORGANIZATION_TYPE")
	private int cooperationCompanyOrganizationType;

	/** 对端机构详细描述 cooperationCompanyOrganizationDescription */
	@TableField(value = "COOPERATION_COMPANY_ORGANIZATION_DESCRIPTION")
	private String cooperationCompanyOrganizationDescription;

	/** 对端上级机构ID cooperationCompanyParentOrganizationCode */
	@TableField(value = "COOPERATION_COMPANY_PARENT_ORGANIZATION_CODE")
	private String cooperationCompanyParentOrganizationCode;

	/** 对端机构启用状态 enableFlag */
	@TableField(value = "IS_ENABLE")
	private boolean enableFlag;

	/** 数据来源 dataSource */
	@TableField(value = "DATA_SOURCE")
	private String dataSource;

	/** 创建人id createUserId */
	@TableField(value = "CREATE_USER_ID")
	private String createUserId;

	/** 创建时间 createTime */
	@TableField(value = "CREATE_TIME")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	private Date createTime;

	/** 修改人id updateUserId */
	@TableField(value = "UPDATE_USER_ID")
	private String updateUserId;

	/** 修改时间 updateTime */
	@TableField(value = "UPDATE_TIME")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	private Date updateTime;

	/** 备注 memo */
	@TableField(value = "MEMO")
	private String memo;

	/** 删除状态 deleteFlag */
	@TableField(value = "IS_DELETE")
	private boolean deleteFlag;

	/** 对端机构名称全拼 cooperationCompanyOrganizationNameFullSpelling */
	@TableField(value = "COOPERATION_COMPANY_ORGANIZATION_NAME_FULL_SPELLING")
	private String cooperationCompanyOrganizationNameFullSpelling;
}
